import axios from '@/utils/axios'
// 编辑模块
const editMobile = (params) => {
  return axios.request({
    url: '/mobileModule/info',
    method: 'put',
    data: params,
  })
}

// 获取所有模块
const getMobile = (params) => {
  return axios.request({
    url: '/mobileModule/info',
    method: 'get',
    data: params,
  })
}
export default {
  getMobile,
  editMobile,
}
